package com.fr.dialog;

import javax.swing.SwingUtilities;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import javax.swing.text.Document;

public class JSCodePane extends ParenMatcher
  implements DocumentListener
{
  public JSCodePane()
  {
    getDocument().addDocumentListener(this);
  }

  public void changedUpdate(DocumentEvent paramDocumentEvent)
  {
  }

  public void insertUpdate(DocumentEvent paramDocumentEvent)
  {
    SwingUtilities.invokeLater(this);
  }

  public void removeUpdate(DocumentEvent paramDocumentEvent)
  {
    SwingUtilities.invokeLater(this);
  }
}